Replication Files for "Group Consciousness, Organizational Membership, and District Choice"
This repository contains the replication files necessary to reproduce the findings of the paper titled "Group Consciousness, Organizational Membership, and District Choice". Below is a brief description of each file included:

Files:
1. afro_replic.csv: This file contains the primary dataset used in the analysis. It includes the data formatted for the conjoint analyses, which means the unit of analysis is the option shown to the respondent each time they answered the conjoint. 

2. distrito_afro_regs.csv: This file contains the survey data used in the paper. The unit of analysis here is the individual.

3. Replication for Group Consciousness, Organizational Membership and District Choice.Rmd: This R Markdown file provides the script used to replicate the analyses and generate the figures and tables presented in the paper. It includes detailed comments and annotations to guide replication efforts.

Replication Instructions:

Download the Files: Clone or download the entire repository to your local machine.

Install Required Packages: Ensure you have R and the necessary packages installed as listed in the R Markdown file.

Execute the R Markdown File: Open and run the Replication for Group Consciousness, Organizational Membership and District Choice.Rmd file in RStudio or any R environment. Follow the comments and instructions within the file for step-by-step replication.

Review Outputs: The file generates tables, figures, and statistical outputs that should closely match those reported in the paper.

Notes:
Make sure to set the working directory correctly within R or RStudio to access the CSV files. The containing folder should contain two subfolders one for images (Images) and one for (Tables)
For more information see the Pre-analysis plan of the project at: https://osf.io/wfqu3